package com.j180.bean;

import java.io.Serializable;

public class EmpBean implements Serializable {

     private  long  id;

     private  String name;

    public EmpBean() {
    }

    public EmpBean(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "EmpBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
